package com.woniuxy.examentity;

import java.util.List;

// 题目数据
public class Question {
    private String id;
    private String type; // choice, essay, programming
    private String question;
    private List<String> options; // 选择题选项
    private Object answer; // 正确答案
    private String analysis; // 解析（选择题）

    // 构造函数、getter和setter
    public Question() {}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public List<String> getOptions() {
        return options;
    }

    public void setOptions(List<String> options) {
        this.options = options;
    }

    public Object getAnswer() {
        return answer;
    }

    public void setAnswer(Object answer) {
        this.answer = answer;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }
}
